home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 …ember: Reference Library / Dev.CD Dec 96 RL / Dev.CD Dec 96 RL.toast / Technical Documentation / develop / develop Issue 23 / develop Issue 23 code / Multipane Dialogs Code.sea / Multipane Dialogs Code / SampleProcs.h / SampleProcs.h
Encoding:
Text File  |  1995-01-27  |  612 b   |  24 lines  |  [TEXT/MMCC]

  1. /* Example Action Procedures for the sample application.
  2.  * By Norman Franke
  3.  */
  4.  
  5. // Constants for MyClickAction
  6. #define kMiscellaneousPane    2
  7. #define kEnableSelfDestruct    2
  8. #define kSelfDestruct        3
  9.  
  10. #define kCommPane            1
  11. #define kFrequency            5
  12.  
  13. // Alert for when data validation fails.
  14. #define ALERT_Invalid 129
  15.  
  16. // Sample Edit Action Procedure
  17. short MyEditAction(short aType, char *hPtr, Handle iHandle, short pane, short item);
  18.  
  19. // Sample Click Action Procedure
  20. short MyClickAction(short, DialogPtr dlog, short pane, short item);
  21.  
  22. // Ensure a string contains only digits
  23. short VerifyDigits(StringPtr inString);
  24.